﻿@model HomePortal.Models.LocalPasswordModel
@{
    ViewBag.Title = "Управление аккаунтом";
}
@section featured {
    <section class="featured">
        <div class="content-wrapper">
            <hgroup class="title">
                <h1>@ViewBag.Title.</h1>
                <h2>@ViewBag.Message</h2>
            </hgroup>
        </div>

    </section>
}
<p class="message-success">@ViewBag.StatusMessage</p>
<div class="content">
    <p>Здравствуйте <strong>@User.Identity.Name</strong>.</p>
    @{ Html.RenderAction("UserProfile", "Account"); }
</div>

<br/>
@(ViewBag.HasLocalPassword ? Html.Partial("_ChangePasswordPartial") : Html.Partial("_SetPasswordPartial"))

<section id="externalLogins">
    @Html.Action("RemoveExternalLogins")

    <h3>Добавить внешний логин</h3>
    @Html.Action("ExternalLoginsList", new { ReturnUrl = ViewBag.ReturnUrl })
</section>

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
